<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.prime.com.tr/ui">
    <h:form>
        <p:panel>
        <h:panelGrid style="text-align: center">
            <p:menubar autoSubmenuDisplay="true">  
                <p:submenu label="Área Restrita">  
                    <p:menuitem value="Interface Cliente" url="IndexReserva.xhtml"/> 
                    <p:menuitem value="Cadastro Usuário" url="CadastroUsuario.xhtml"/> 
                </p:submenu>  
            </p:menubar>
            <p:commandButton action="#{loginHandler.logout()}" value="Sair" onclick="IndexReserva.xhtml"/>
        </h:panelGrid>
        </p:panel>
    </h:form>
</html>
